package com.yunhe.option.repository.base;

import com.yunhe.option.domain.base.EstablishSoundManagementLedger;
import com.yunhe.option.domain.base.SafetyGrade;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.stereotype.Repository;

/**
 * @ClassName SafetyGradeRepository
 * @Description 安全隐患评估类型仓库
 * @Author HeTao
 * @Date 2020/11/3 14:33
 * @Version 1.0
 **/
@Repository
public interface SafetyGradeRepository extends Neo4jRepository<SafetyGrade, Long> {
    SafetyGrade findByName(String name);

    SafetyGrade findByCode(Long code);
}
